package com.admin.library.service;

import com.admin.library.domain.entity.Publisher;
import com.admin.library.domain.entity.Reader;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * @author Lii
 * @create 2022-05-26 20:36
 */
public interface PublisherService extends IService<Publisher> {

    /**
     * 分页查询出版社
     *
     * @param
     * @param publisher
     * @return
     */
    Map<String, Object> page(Page<Publisher> page, Publisher publisher);

//    IPage<Publisher> getPage(int currentPage, int pageSize, Publisher publisher);
}
